﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="word_resource_mapDataSet" targetNamespace="http://tempuri.org/word_resource_mapDataSet.xsd" xmlns:mstns="http://tempuri.org/word_resource_mapDataSet.xsd" xmlns="http://tempuri.org/word_resource_mapDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="word_resource_mapConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="word_resource_mapConnectionString (Settings)" PropertyReference="ApplicationSettings.DataProcess.Properties.Settings.GlobalReference.Default.word_resource_mapConnectionString" Provider="System.Data.OleDb" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="resourceTableAdapter" GeneratorDataComponentClassName="resourceTableAdapter" Name="resource" UserDataComponentName="resourceTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="word_resource_mapConnectionString (Settings)" DbObjectName="resource" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM `resource` WHERE ((`ID` = ?) AND ((? = 1 AND `字段1` IS NULL) OR (`字段1` = ?)) AND ((? = 1 AND `字段2` IS NULL) OR (`字段2` = ?)) AND ((? = 1 AND `字段3` IS NULL) OR (`字段3` = ?)) AND ((? = 1 AND `字段4` IS NULL) OR (`字段4` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_字段1" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="字段1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_字段1" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="字段1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_字段2" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="字段2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_字段2" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="字段2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_字段3" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="字段3" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_字段3" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="字段3" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_字段4" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="字段4" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_字段4" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="字段4" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO `resource` (`字段1`, `字段2`, `字段3`, `字段4`) VALUES (?, ?, ?, ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="字段1" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="字段1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="字段2" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="字段2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="字段3" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="字段3" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="字段4" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="字段4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT ID, 字段1, 字段2, 字段3, 字段4 FROM resource</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE `resource` SET `字段1` = ?, `字段2` = ?, `字段3` = ?, `字段4` = ? WHERE ((`ID` = ?) AND ((? = 1 AND `字段1` IS NULL) OR (`字段1` = ?)) AND ((? = 1 AND `字段2` IS NULL) OR (`字段2` = ?)) AND ((? = 1 AND `字段3` IS NULL) OR (`字段3` = ?)) AND ((? = 1 AND `字段4` IS NULL) OR (`字段4` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="字段1" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="字段1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="字段2" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="字段2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="字段3" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="字段3" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="字段4" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="字段4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_字段1" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="字段1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_字段1" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="字段1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_字段2" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="字段2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_字段2" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="字段2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_字段3" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="字段3" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_字段3" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="字段3" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_字段4" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="字段4" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_字段4" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="字段4" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="字段1" DataSetColumn="字段1" />
              <Mapping SourceColumn="字段2" DataSetColumn="字段2" />
              <Mapping SourceColumn="字段3" DataSetColumn="字段3" />
              <Mapping SourceColumn="字段4" DataSetColumn="字段4" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="word_resource_mapDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="word_resource_mapDataSet" msprop:Generator_UserDSName="word_resource_mapDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="resource" msprop:Generator_TableClassName="resourceDataTable" msprop:Generator_TableVarName="tableresource" msprop:Generator_TablePropName="resource" msprop:Generator_RowDeletingName="resourceRowDeleting" msprop:Generator_UserTableName="resource" msprop:Generator_RowChangingName="resourceRowChanging" msprop:Generator_RowEvHandlerName="resourceRowChangeEventHandler" msprop:Generator_RowDeletedName="resourceRowDeleted" msprop:Generator_RowEvArgName="resourceRowChangeEvent" msprop:Generator_RowChangedName="resourceRowChanged" msprop:Generator_RowClassName="resourceRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
              <xs:element name="字段1" msprop:Generator_ColumnVarNameInTable="column字段1" msprop:Generator_ColumnPropNameInRow="字段1" msprop:Generator_ColumnPropNameInTable="字段1Column" msprop:Generator_UserColumnName="字段1" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="字段2" msprop:Generator_ColumnVarNameInTable="column字段2" msprop:Generator_ColumnPropNameInRow="字段2" msprop:Generator_ColumnPropNameInTable="字段2Column" msprop:Generator_UserColumnName="字段2" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="字段3" msprop:Generator_ColumnVarNameInTable="column字段3" msprop:Generator_ColumnPropNameInRow="字段3" msprop:Generator_ColumnPropNameInTable="字段3Column" msprop:Generator_UserColumnName="字段3" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="字段4" msprop:Generator_ColumnVarNameInTable="column字段4" msprop:Generator_ColumnPropNameInRow="字段4" msprop:Generator_ColumnPropNameInTable="字段4Column" msprop:Generator_UserColumnName="字段4" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:resource" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
  </xs:element>
</xs:schema>